public class Descriptor implements java.io.Serializable {

	public int id;
	public Object obj;
	public Class type;

	public Descriptor(int id, Object obj) {
		this.id = id;
		this.obj = obj;
	       	try {
			this.type = Class.forName(obj.getClass().getName());
		} catch(Exception exc) {
			exc.printStackTrace();
		}
	}

}
